package com.mdxq.user.service;


import com.mdxq.user.entity.User;
import com.mdxq.user.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author WanJl
 * @version 1.0
 * @title UserService
 * @description
 * @create 2025/1/21
 */
@Service
public class UserService {
    @Autowired
    private UserMapper userMapper;

    public User findById(Long id) {
        return userMapper.selectById(id);
    }
}
